﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SqlShareAPI
{
    /// <summary>
    /// This is a simple clone of a UserSession's properties. We want to creat ethis as separate so we can
    /// serialize it. Changing any of these values will have no effect on the source of these values.
    /// </summary>
    public class UserData
    {
        public string UserName { get; private set; }
        public string FullName { get; private set; }
        public bool IsAdmin { get; private set; }

        public UserData() { }
        public UserData(string username, string fullname, bool isadmin)
        {
            UserName = username;
            FullName = fullname;
            IsAdmin = isadmin;
        }
    }
}
